package com.kunzai.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kunzai.mapper.UserMapper;
import com.kunzai.pojp.User;
import com.kunzai.service.Uservice;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class Userviceimpl extends ServiceImpl<UserMapper, User> implements Uservice {

    @Override
    public User selectUser(Integer userId) {

        User UserOne = this.getById(userId);

        return UserOne;
    }
}
